@import '@/styles/variables.scss';

.caseContent-container {
    .caseContent-info {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: $block-space-y;

        .caseContent-info-left {
            margin-right: 30px;

            .caseContent-info-more {
                margin-top: $block-y;
                display: flex;
                justify-content: flex-start;
                align-items: center;

                .el-form-item{
                    margin-right: $block-space-x;
                }
            }

            .case-baseinfo-form {

                .case-baseinfo-container {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;

                    .el-form-item {
                        margin-right: 20px;
                        margin-bottom: 0px;

                        .el-form-item__content {
                            line-height: 30px;
                            .el-form-item__error{
                                display: none;
                            }
                        }

                        .ageView {
                            height: 30px;
                            display: flex;
                            align-items: center;
                            border: 1px solid #DCDFE6;
                            border-radius: 4px;
                            margin-right: $block-x;

                            .el-input {
                                width: 50px;

                                .el-input__inner {
                                    border: 0px;
                                }
                            }

                            .age-unit {
                                line-height: 30px;
                                background-color: #A9A9A9;
                                padding: 0 $block-x;
                                display: flex;
                                align-items: center;
                                height: 100%;
                                background-color: $table-top-bg;
                                border: 1px solid #DCDFE6;
                                border-bottom: 0;
                                border-top: 0;
                            }

                            .age-unit:last-child {
                                border-right: 0;
                            }
                        }

                        .name-input {
                            min-width: 80px;
                        }

                        .mobile-input {
                            min-width: 100px;
                        }

                        .el-radio-group {
                            display: flex;
                            justify-content: flex-start;
                            align-items: center;
                        }
                    }
                }
                .caseContent-info-more{
                    width: 100%;
                    .idcard-form-item{
                        max-width: 200px;
                        min-width: 80px;
                    }
                }
            }
        }

        .caseContent-info-right {
            height: 30px;
            line-height: 30px;

            .look-more {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: nowrap;
                font-size: $font-size-main;
                color: $main-color;

                >p {
                    white-space: nowrap;
                }

                span {
                    flex-shrink: 0;
                }

                &:hover {
                    cursor: pointer;
                }
            }
        }
    }

    .caseContent-main {

        .caseContent-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 40px;
            padding: 0px $collection-x;
            background: $table-top-bg;
            border: 1px solid $border-color;
            border-bottom: none;
            border-top-left-radius: $border-radius-4;
            border-top-right-radius: $border-radius-4;

            .title-left {
                span {
                    font-size: $font-size-main;
                    color: $font-size-main;
                    font-weight: bold;
                }
            }
        }

        .caseContent-content {
            .content-item-ul {
                border: 1px solid $border-color;
                background: #F5FAFB;
                display: flex;
                justify-content: flex-start;
                align-items: flex-start;
                flex-direction: column;

                .content-item-container {
                    width: 100%;
                    box-sizing: border-box;
                    border-bottom: 1px solid $border-color;
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;

                    &:last-of-type {
                        border: none;
                    }

                    .title-item {
                        min-width: 80px;
                        max-width: 120px;
                        padding: $block-y $block-x;
                        text-align: right;

                        .start-icon {
                            font-weight: bold;
                            font-size: $font-size-main;
                            color: red;
                            margin-right: 3px;
                        }
                    }

                    .content-item {
                        width: 100%;
                        border-left: 1px solid $border-color;

                        .el-input {
                            width: 100%;

                            .el-input__inner {
                                background: #F5FAFB;
                                border: 0px;
                                height: 40px;
                            }
                        }
                        .medicalDescribeInput{
                            .el-textarea__inner{
                                background: transparent;
                                border: none;
                            }
                        }
                    }

                    .tigejiancha-item {
                        padding: 10px $block-x;

                        .tigejiancha-item-top {
                            height: 40px;
                            display: flex;
                            justify-content: flex-start;
                            align-items: center;

                            .item {
                                display: flex;
                                justify-content: flex-start;
                                align-items: center;
                                margin-right: 20px;

                                .item-name {
                                    flex-shrink: 0;
                                }

                                .el-input__inner {
                                    height: 30px;
                                    border: 1px solid $border-color;
                                }
                            }
                        }

                        .tigejiancha-item-other {
                            margin-top: 5px;

                            .el-textarea {
                                .el-textarea__inner {
                                    background: transparent;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}